Add GitHub Actions CI workflow with golang linter#2
Conversation
|
@ianchen0119 👋 This repository doesn't have Copilot instructions. With Copilot instructions, I can understand the repository better, work faster and produce higher quality PRs. I can generate a .github/copilot-instructions.md file for you automatically. Click here to open a pre-filled issue and assign it to me. I'll write the instructions, and then tag you for review. |
Co-authored-by: ianchen0119 <42661015+ianchen0119@users.noreply.github.com>
|
@copilot-swe-agent |
…endencies Co-authored-by: ianchen0119 <42661015+ianchen0119@users.noreply.github.com>
Fixed the CI errors by updating the cache configuration. The issue was that the workflow expected a |
What's Fixed
The CI error was caused by the cache configuration expecting a
go.sumfile that doesn't exist in this project (since it has no external dependencies). The fix:hashFiles('**/go.sum')tohashFiles('**/go.sum', '**/go.mod')go.sumexistsThe workflow is now properly configured to handle Go projects with only internal dependencies.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.